package com.xfs.emp.entity.po;

import com.xfs.dept.entity.po.Dept;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author dwj
 * @Date 2021-10-26 20:53
 */
@Data
public class Emp implements Serializable {
    private Integer empId;
    private String realname;
    private Integer sex;
    private Integer age;
    private Double money;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthday;
    private String address;
    private Integer deptId;

    private Dept dept;
}
